/**
 * $Revision: 1.0 $ 
 * $Author: Eric Yang $ 
 * $Date: Aug 6, 2009 12:42:05 AM  $
 * 
 * Author: Eric Yang 
 * Date : Aug 6, 2009 12:42:05 AM
 */
package com.gooex.service.organization;

import java.util.List;

import com.gooex.domain.organization.User;
import com.gooex.service.organization.exception.UserException;

/**
 * @author Eric Yang
 * @version 1.0
 */
public interface IUserManager {

	public User getUser(String id);

	public List<User> getUsers();

	/**
	 * Save a user.
	 */
	public void saveUser(User user) throws UserException;

	/**
	 * Get a user by email.
	 */
	public User getUserByAccount(String email);

	public boolean validateUserInfo(User user);

	public void checkUserInfo(User user) throws UserException;

	public void removeUser(User user) throws UserException;

}
